package com.ruoyi.project.channel.channelSetting.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 码商配置表 channel_setting
 * 
 * @author CAIN
 * @date 2019-09-07
 */
public class ChannelSetting extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Long rateId;
	/** 码商代理id */
	private Long channelId;
	/** 支付类型 */
	private String payType;
	/** 预充值费率 */
	private BigDecimal depositRate;
	private String payLabel;
	public void setRateId(Long rateId) 
	{
		this.rateId = rateId;
	}

	public Long getRateId() 
	{
		return rateId;
	}
	public void setChannelId(Long channelId) 
	{
		this.channelId = channelId;
	}

	public Long getChannelId() 
	{
		return channelId;
	}
	public void setPayType(String payType) 
	{
		this.payType = payType;
	}

	public String getPayType() 
	{
		return payType;
	}
	public void setDepositRate(BigDecimal depositRate) 
	{
		this.depositRate = depositRate;
	}

	public BigDecimal getDepositRate() 
	{
		return depositRate;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rateId", getRateId())
            .append("channelId", getChannelId())
            .append("payType", getPayType())
            .append("depositRate", getDepositRate())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }

	public String getPayLabel() {
		return payLabel;
	}

	public void setPayLabel(String payLabel) {
		this.payLabel = payLabel;
	}
}
